package com.bys.system.service;

import com.bys.system.model.SysMenuModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bys.system.vo.RouterVo;
import com.bys.system.vo.SysMenuVo;

import java.util.List;

/**
* PackageName:  com.bys.system.service
* ClassName:    ISysMenuService
* Description:  菜单表 服务接口
* Author:       bys
* Date:         2023-03-31
**/
public interface ISysMenuService extends IService<SysMenuModel> {

    void deleteLogic(Long id);

    List<SysMenuVo> getMenu();

    List<SysMenuVo> findRoleMenu(Long roleId);

    List<RouterVo> findUserMenu(Long userId);
    List<String> findUserPermission(Long userId);
}
